Smush\Core\Modules\Bulk\Smush_Background_Task S

Total Complexity 18
Dependencies 0
Dependents 2
Total lines 89
Lines of code 53
Logical lines of code 21
Comment lines 12
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
__unserialize()
S
65 3 8
get()
S
78 2 3
is_valid()
S
76 2 4
__construct()
S
77 1 4
is_type_valid()
S
75 1 4
is_image_id_valid()
S
80 1 3
get_type()
S
82 1 3
set_type()
S
81 1 3
get_image_id()
S
82 1 3
set_image_id()
S
81 1 3
serialize()
S
80 1 3
unserialize()
S
79 1 3
__serialize()
S
72 1 6
__toString()
S
80 1 3